package com.ljh.onlinetest.repository;

import com.ljh.onlinetest.domain.ExamPaperAnswer;
import com.ljh.onlinetest.viewmodel.admin.paper.ExamPaperAnswerPageRequestVM;
import com.ljh.onlinetest.viewmodel.student.exampaper.ExamPaperAnswerPageVM;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ljh
 * @ClassName ExamPaperAnswerMapper.java
 * @createTime 2022年02月22日
 */
@Mapper
public interface ExamPaperAnswerMapper extends BaseMapper<ExamPaperAnswer> {
    List<ExamPaperAnswer> adminPage(ExamPaperAnswerPageRequestVM model);

    Integer selectAllCount();

    ExamPaperAnswer getByPidUid(@Param("pid") Integer id,@Param("uid") Integer id1);

    List<ExamPaperAnswer> studentPage(ExamPaperAnswerPageVM model);
}
